package com.example.robertluozizhao.java.reflect;

/**
 * @author luo_zi_zhao
 * @version V1.0 当前版本描述信息
 * @FileName com.example.robertluozizhao.java.reflect
 * @date 2019/11/23 14:15
 */

public class Fruit {
    protected float price;
    protected String name;

    public Fruit(float price, String name) {
        this.price = price;
        this.name = name;
    }

    public Fruit() {
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
